package day13.inner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Cleaner {
    String name;
    public void doClean(String roomno){
        System.out.println(name+"正在清洁："+roomno+"房间");
        class Xichenqi{
            String brand;
            int watt;
            public void work(){
                System.out.println("工人"+Cleaner.this.name+"在使用"+brand+"，功率是"+watt+"的吸尘器，在清洁房间"+roomno);
            }
        }
        Xichenqi x=new Xichenqi();
        x.brand="美的";
        x.watt=45;
        x.work();
    }

    public static class Node{
        public void show(){
            System.out.println("This is node");
        }
    }
}
